package com.ysd.lis.service.lab;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.Result;
import com.ysd.lis.entity.lab.LabSampleType;
import com.ysd.lis.request.AddSampleTypeParam;
import com.ysd.lis.request.SampleTypePageParam;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Cfz
 * @since 2023-12-13
 */
public interface LabSampleTypeService extends IService<LabSampleType> {
    Result findLabSampleTypeList(SampleTypePageParam SampleTypePageParam);

    Result addSampleType(AddSampleTypeParam addSampleTypeParam);

    Result editSampleType(AddSampleTypeParam addSampleTypeParam);

    Result deleteSampleType(AddSampleTypeParam addSampleTypeParam);

    /*同步标本类型*/
    Result syncSampleType();

    /*通过编号获取一条记录*/
    LabSampleType findOneByNo(String no);
}
